import express from 'express';
import config from './config.js';
const app = express();



// 用于存放图片
app.use('/image', express.static('image'));

// eslint-disable-next-line no-undef
const port = process.env.PORT || config.port
app.listen(port, () => {
    console.log(`Started on port ${port}`);
});
